package com.cs.sso.service;

import com.cs.common.vo.ReturnVo;
import com.cs.sso.dbo.Account;
import com.cs.sso.exception.LoginException;

public interface AccountService {
    // 使用用户名查询用户
    Account findUser(String username) throws LoginException;
    // 新建用户
    ReturnVo create(Account account) throws LoginException;
    // 锁定用户
    void lockUser(String username);
    // 作废用户
    void remove(String username);
    // 重置密码
    String resetPassword(String username);
}
